package com.njsf.service;

import com.github.pagehelper.PageInfo;
import com.njsf.dto.ResponseJson;
import com.njsf.pojo.Book;

<<<<<<< HEAD
import java.util.List;


public interface BookService {

    PageInfo<Book> getBooks(Integer start, Integer pageSize, String bookName);
=======

public interface BookService {

    PageInfo<Book> getBooks(Integer start, Integer pageSize);
>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8

    ResponseJson add(Book book);

    Book bookDetail(Integer id);

<<<<<<< HEAD
    ResponseJson alter(Book book);

    ResponseJson deleteById(Integer id);

    ResponseJson deleteList(List<Integer> ids);
=======
    /*删除一个书籍*/
    ResponseJson delOneBook(Integer id);

    ResponseJson updateBook(Book book);

>>>>>>> 180ace60693232df69575b4f82fc34aeb3fc90e8
}
